package com.ruoyi.hippocampus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片对象 photo
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Photo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private Long id;

    /** 图片的URL */
    @Excel(name = "图片的URL")
    private String imgUrl;

    /** 图片类型id */
    @Excel(name = "图片类型id")
    private Long phototypeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setPhototypeId(Long phototypeId) 
    {
        this.phototypeId = phototypeId;
    }

    public Long getPhototypeId() 
    {
        return phototypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("phototypeId", getPhototypeId())
            .toString();
    }
}
